Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Python 3 #2738

Merged
merged 3 commits into from
Dec 13, 2018
Merged

Support Python 3 #2738

merged 3 commits into from
Dec 13, 2018

Conversation

gmmeyer
Copy link
Contributor

@gmmeyer gmmeyer commented Dec 12, 2018

What does this PR do?

This moves Gearmand to Python3. Python 3 support for the library is a new drop in replacement library: https://github.com/josiahmwalton/python3-gearman

We can use that, we just need to amend the requirements files and make the import conditional

Motivation

We need to move everything to python3

Review checklist

  • PR has a meaningful title or PR has the no-changelog label attached
  • Feature or bugfix has tests
  • Git history is clean
  • If PR impacts documentation, docs team has been notified or an issue has been opened on the documentation repo
  • If PR adds a configuration option, it has been added to the configuration file.

Additional Notes

Anything else we should know when reviewing?

--hash=sha256:2b1876a60e32e24bed4c6d187898274de6409bbfa942bcbe3512efdf2aed0ec9

python3-gearman==0.1.0 ; sys_platform != "win32" and python_version > "3.0" \
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are we bumping the req in the root agent-req file now or when release happens?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's do it now pls

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@nmuesch I bumped the requirements file, can you rereview

nmuesch
nmuesch previously approved these changes Dec 12, 2018
Copy link
Collaborator

@nmuesch nmuesch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good! Thanks. Left a quick question but approving, lets just wait for CI to be green.

@masci masci changed the title support python 3 Support Python 3 Dec 13, 2018
@codecov-io
Copy link

Codecov Report

Merging #2738 into master will decrease coverage by 8.86%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master    #2738      +/-   ##
==========================================
- Coverage    84.7%   75.83%   -8.87%     
==========================================
  Files         657       51     -606     
  Lines       37189     3398   -33791     
  Branches     4462      395    -4067     
==========================================
- Hits        31501     2577   -28924     
+ Misses       4378      718    -3660     
+ Partials     1310      103    -1207

Copy link
Collaborator

@nmuesch nmuesch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks!

@gmmeyer gmmeyer merged commit 76cf807 into master Dec 13, 2018
@gmmeyer gmmeyer deleted the greg/gearmand3 branch December 13, 2018 17:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants